package com.atguigu.gmall.gateway.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "app.auth")
@Component
public class AuthUrlProperties {

    private List<String> noauthurl;//无需登录就直接放行
    private List<String> loginauth;//需要登录才能访问的
    private List<String> denyurl; //拒绝浏览器访问的页面
    private String loginPage;//登录页
}
